-- GENERATED SPELL FOR [Razormane Quilboar] --


function spell0_3111(pUnit, Event) --@Razor Mane,n/a--
pUnit:FullCastSpellOnTarget(5280,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3111', 46000, 1)
end

function Sorts_3111(pUnit, Event)
local choix_sorts_3111 = math.random(0, 0)
if choix_sorts_3111 == 0 then
pUnit:RegisterEvent('spell0_3111', 1, 1)
end
end

function mob3111_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3111', math.random(1500, 3000), 1)
end

function mob3111_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3111_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3111_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3111, 1, 'mob3111_Action')
RegisterUnitEvent(3111, 2, 'mob3111_Leave')
RegisterUnitEvent(3111, 3, 'mob3111_Kill')
RegisterUnitEvent(3111, 4, 'mob3111_Die')
